<?php
require_once('libs/db.php');
class LTable{
	public $db;
	public $table;
	public $pk;
	
	public function __construct($_cfg,$_table,$_pk){
		$this->db = new LDatabase($_cfg->host,$_cfg->user,$_cfg->password,$_cfg->db);
		$this->table = $_cfg->dbprefix.'_'.$_table;
		$this->pk = $_pk;
	}
	
	public function getall(){
		$results = 
	}
}